#pragma once
#ifndef Helpers_h__
#define Helpers_h__

#include "Geo.h"
#include "Obj.h"

namespace Helpers
{
	void MoveWithKeys(Obj* obj, float speed, float dt);
	void ShootAt(Obj* shooter, const Vec& src_pos, const Vec& dest_pos, Obj* object, float speed);
	bool IsOutsideScreen(Obj* obj);
	bool BounceInsideScreen(Obj* obj);
	void ScrollOffsetWithMouse(Vec& offset, int mouse_key);
}

#endif // Geo_h__